#ifndef _ZD_ALARM_SERVER_H_
#define _ZD_ALARM_SERVER_H_
/*
#ifdef __cplusplus
extern "C" {
#endif
*/
#define _SERV_PORT 80

#define HTML_BODY_ALARM_200 "<html><head><title>200 OK</title></head><body><p>YOU POST/GET SUCESS</p></body></html>"
#define HTML_BODY_ALARM_404 "<html><head><title>404 NOT FOUND</title></head><body><p>NOT FOUND!</p></body></html>"

typedef void (*zd_alarm_callback)(void *ctx,char *param_str);
extern "C" __declspec(dllexport)  void __stdcall zd_start_server(const char *ipAddress,int port,void *ctx_cb,zd_alarm_callback zd_alarm_cb);
extern "C" __declspec(dllexport)  void __stdcall zd_stop_server();

void log_v(char *str);
/*
#ifdef __cplusplus
}
#endif
*/
#endif;